using System.ComponentModel.DataAnnotations;

namespace JGSY.CMS.LowCode.Platform.Infrastructure.Upload
{

    public class ChunkUploadInitRequest
    {
        [Required]
        public string FileName { get; set; } = string.Empty;

        [Required]
        public long FileSize { get; set; }

        public string? ContentType { get; set; }
        public string? Folder { get; set; }
        public string? Category { get; set; }
        public int ChunkSize { get; set; } = 5 * 1024 * 1024; // 5MB default
    }

}